<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="operatorId" name="operatorId" th:value="${operatorDO.operatorId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">统一社会信用代码：</label>
                            <div class="col-sm-8">
                                <input id="creditCode" name="creditCode" th:value="${operatorDO.creditCode}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">经营主体名称：</label>
                            <div class="col-sm-8">
                                <input id="title" name="title" th:value="${operatorDO.title}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">经营主体地址：</label>
                            <div class="col-sm-8">
                                <input id="address" name="address" th:value="${operatorDO.address}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">法人代表：</label>
                            <div class="col-sm-8">
                                <input id="legalRepresentative" name="legalRepresentative"
                                       th:value="${operatorDO.legalRepresentative}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">经营主体性质：</label>
                            <div class="col-sm-8">
                                <input id="nature" name="nature" th:value="${operatorDO.nature}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">经营主体分类：</label>
                            <div class="col-sm-8">
                                <input id="classification" name="classification" th:value="${operatorDO.classification}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">联系人：</label>
                            <div class="col-sm-8">
                                <input id="linkman" name="linkman" th:value="${operatorDO.linkman}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">联系电话：</label>
                            <div class="col-sm-8">
                                <input id="telephone" maxlength="11" name="telephone" th:value="${operatorDO.telephone}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">经营主体简介：</label>
                            <div class="col-sm-8">
                                <input id="briefIntroduction" name="briefIntroduction"
                                       th:value="${operatorDO.briefIntroduction}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">标识 ：</label>
                            <div class="col-sm-8">
                                <select name="flag" class="form-control" th:if="${operatorDO.flag} eq 0">
                                    <option value="0" selected>
                                        种植环节
                                    </option>
                                    <option value="1">
                                        葡萄酒加工环节
                                    </option>
                                </select>
                                <select name="flag" class="form-control" th:if="${operatorDO.flag} eq 1">
                                    <option value="0">
                                        种植环节
                                    </option>
                                    <option value="1" selected>
                                        葡萄酒加工环节
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="button" onclick="save(1)" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/blog/operator/edit.js">

</script>
</body>
</html>
